-- GENERATED SPELL FOR [Dreghood Brute] --


function spell0_16938(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(31553,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16938', 10256, 1)
end

function Sorts_16938(pUnit, Event)
local choix_sorts_16938 = math.random(0, 0)
if choix_sorts_16938 == 0 then
pUnit:RegisterEvent('spell0_16938', 1, 1)
end
end

function mob16938_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16938', math.random(1500, 3000), 1)
end

function mob16938_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16938_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16938_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16938, 1, 'mob16938_Action')
RegisterUnitEvent(16938, 2, 'mob16938_Leave')
RegisterUnitEvent(16938, 3, 'mob16938_Kill')
RegisterUnitEvent(16938, 4, 'mob16938_Die')
